package com.cjm.mybatis.bean;

/**
 * Created by jiaming.chen1 on 2015/7/8.
 */
public class Order {
    private int id;
    private String orderNo;
    private float price;

    @Override
    public String toString() {
        return "Order{" +
                "id=" + id +
                ", orderNo='" + orderNo + '\'' +
                ", price=" + price +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public float getPrice() {
        return price;
    }

    public void setPrice(float price) {
        this.price = price;
    }

    public Order() {

    }

    public Order(int id, String orderNo, float price) {

        this.id = id;
        this.orderNo = orderNo;
        this.price = price;
    }
}
